﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductInfo.ascx.cs" Inherits="STHPMS1.Web.W_UserControl.ProductInfo" %>

<form id="formCreateProduct" method="post" action="">
    <table cellpadding="4" border="0px">
        <tr>
            <td>商品名称</td>
            <td>
                <input name="ProductName" type="text" maxlength="50" id="txtProductName" class="myTextbox" style="width: 460px;" value="<%= Model.Product.Name.HtmlAttributeEncode() %>" />
            </td>
        </tr>
        <tr>
            <td>单位</td>
            <td>
                <select name="Unit" id="ddlUnit" combobox="editable" style="width: 80px;">
                    <%= HtmlHelper.GetUnitHtmlOptions(Model.Product.Unit)%>
                </select></td>
        </tr>
        <tr>
            <td>单价</td>
            <td>
                <input name="UnitPrice" type="text" maxlength="10" id="txtUnitPrice" class="myTextbox" style="width: 100px;" value="<%= Model.Product.UnitPrice.ToText() %>" />
            </td>
        </tr>
        <tr>
            <td>数量</td>
            <td>
                <input name="Quantity" type="text" maxlength="5" id="txtQuantity" class="myTextbox" style="width: 100px;" value="<%= Model.Product.Quantity.ToText() %>" />
            </td>
        </tr>
    </table>
</form>

